home *** CD-ROM | disk | FTP | other *** search
/ L' Effet Pommier 3 / L'Effet Pommier - Volume 03.iso / Communication / HTMLedit173-ppc / HTML.edit 1.7.3 (ppc) / HTML.edit 1.7.3 (ppc).rsrc / TEXT_11998_Structure Submenu.txt < prev    next >
Text File  |  1996-01-15  |  7KB  |  75 lines

  1.  
  2. Structure Submenu
  3.  
  4. The Structure submenu contains eight commands. For more information on how the first six of these commands are used to create a structured HTML document, see the section Document Structure.
  5.  
  6. All Structural Tags
  7. Adds all of the recommended structural tags to the current document. This includes the SGML FPI, HTML, HEAD, TITLE, BODY, and optionally, the footer delimiter.
  8.  
  9. Language
  10. The <HTML> and </HTML> tags are placed at the beginning and end of your document to mark your text as an HTML document. If the "Use HTML Formal Public Identifier (FPI)" check box (as found in Editor Preferences) is checked, HTML.edit will prefix the document with the SGML declaration as specified on the Preferences card. This FPI is used to identify the language of the document by specifying a publicly-available HTML DTD (document type definition).
  11.  
  12. Header
  13. A section beginning <HEAD> and ending </HEAD>, which precedes the actual content of your document is a document header, and may contain information to assist the browser software. By placing the <BODY> tag at the end of the HTML.edit Header area (but still after the </HEAD> tag), the Master Headers may be used to create a common beginning to each document.
  14.  
  15. Note that no document content should occur within the <HEAD> tags, only browser information such as a document title.
  16.  
  17. Title
  18. The HTML Title is used by client software (like Lynx or Mosaic) to title the window of the currently displayed document, or maintain a history list of browsed documents. Select the text you wish to use as the HTML document title, then choose the Title command from the HyperText menu. The <TITLE> tags will be added to enclose the desired title text.
  19.  
  20. Body
  21. The content of your document is contained within the <BODY> and </BODY> tags.
  22.  
  23. Footer Delimiter
  24. If you wish to provide a consistent footer to your documents, use the Master Footers to create one. While there is no HTML tag used to designate a document footer, HTML.edit provides a "legal" way to optionally separate the footer from your main content using an HTML comment:
  25.  
  26.   <!--FOOT-->
  27.  
  28. While not an actual HTML section, the addition of this HTML comment (as specified in Editor Preferences), allows HTML.edit to automatically transfer all document text following the comment to the HTML.edit footer area.
  29.  
  30. This is useful when exporting and importing text from HTML.edit, as the import feature can optionally move the footer text to the footer area on import if it finds the delimiter tag. Remember that even if you use the footer delimiter, the closing </BODY> tag must still occur after  all of your footer text. See Document Structure for more information on placement of structural elements.
  31.  
  32. BASE/BASE Utility
  33. The BASE element creates a URL reference point within the document, to record the document's own URL (to allow relative addressing of links within the document in situations when the document may be read out of context). This reduces the maintenance burden of moving a set of documents to a new location. BASE may reference either a location or a specific document, depending on context.*
  34.  
  35. The BASE element looks similar to an anchor tag, except it has no closing tag. The BASE element must be located within the document HEAD (between <HEAD> and </HEAD>), and the HREF reference must be an absolute URL. For example,
  36.  
  37.    <BASE HREF="http://www.foo.edu/fishing/blue_worms.html">
  38.  
  39. To insert a <BASE> element into the header of the current document, choose the BASE command. If the server name, server path (location of the server application), and the current document is located within the server folder, the BASE element specifying the current document will be inserted into the header. 
  40.  
  41. For more information on setting the server name and path, check Paths and Filenames.
  42.  
  43. Alternately, place the insertion point into your document HEAD, then choose the Base UtilityΓǪ command to display the Base Utility, from where you can specify the BASE element manually.
  44.  
  45. *NOTE: The possible uses of the BASE element are, as of this date, still under discussion in the HTML working group. The HTML 2.0 and 3.0 drafts limit the use of BASE to recording of the document URL for purposes of relative link resolution.  The use of the BASE element to reference a relative reference point other than the document base address is not currently proposed (as it was in HTML+). Also, as some HTTP servers consist of a database that composes HTML files on demand, it may be said that some documents don't truly exist until created on the fly. For these servers the base URL may not be the "best source" of the document, which may change continuously (such as a stock market report). But for purposes of stored "static" documents, I believe that HTML.edit's implementation of BASE follows the HTML 2.0 draft.
  46.  
  47. META
  48. The META element is used to provide an extensible container of document meta-information, to be used to notify search engines, web spiders, etc. of the existence of, content and/or qualities of the document. Note that META should not be used to provide information that is already supplied more appropriately by an existing HTML element, such as TITLE.
  49.  
  50. For example, the HTML.edit Keywords facility (located under the Utility menu) allows simple collection of document keywords. If the Keywords field contains any text, choosing the META command then defaults to setting up the META element as a source of keywords for the document, using the keywords field as its content, such as:
  51.  
  52.   <META NAME="resource-type" CONTENT=document>
  53.   <META NAME="description" CONTENT="text description">
  54.   <META NAME="keywords" CONTENT="keyword1,keyword2,keyword3">
  55.   <META NAME="distribution" CONTENT=global>
  56.  
  57. To insert a <META> element into your text, choose the META command. The popup menu ("HTTP-EQUIV") on the displayed dialog box shows some of the possible uses of META.
  58.  
  59. And a note from the HTML 2.0 draft:
  60.  
  61. NOTE:  The method by which the server extracts document meta-information is unspecified and not mandatory. The <META> element only provides an extensible mechanism for identifying and embedding document meta-information -- how it may be used is up to the individual server implementation and the HTML user agent. 
  62.  
  63. ISINDEX
  64. The ISINDEX element is a flag informing the client that the document is an index document, and is capable of being searched. The server must have a search engine in order for this to work; merely adding the tag will not make this happen.
  65.  
  66. To insert an <ISINDEX> element into your text, place the insertion point into your document, then choose the ISINDEX command.
  67.  
  68. Horizontal Rule
  69. A Horizontal Rule produces a horizontal line or separator the width of the browser window.
  70.  
  71. To insert a horizontal rule <HR> code into your text, place the insertion point into your document, then choose the Horizontal Rule command.
  72.  
  73. Back to Hypertext menu, on to Format submenu, or return to Tool Palette Menus.
  74.  
  75.